<%@page contentType="text/html;charset=UTF-8"%> 
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>


<c:if test="${!empty listCongVan}">
	<table class="table table-hover">
		<tr>
			<th width="80">Mã Công Văn</th>
			<th width="120">Loai Công Văn</th>
			<th width="80">Trích Yếu</th>
			<th width="120">File Đính Kèm</th>
			
		</tr>
		<c:forEach items="${listCongVan}" var="congvan">
			<c:if test="${!empty congvan.congvandi.idCongVanDi}">
				<tr>
					<td>${congvan.congvandi.idCongVanDi}</td>
					<td>${congvan.loaicongvan.tenLoaiCongVan}</td>
					<td>${congvan.trichYeu}</td>
					<td>${congvan.fileDinhKem}</td>			 
				 </tr>
		 	</c:if>
		</c:forEach>
	</table>

</c:if>

